﻿using System.Linq.PageList;
using Dyao.Book.Contract;
using Dyao.Book.Entity;
using Dyao.Book.Repository.Abstractions;

namespace Dyao.Repository.Abstractions
{
    public interface ITaskCenterRecordViewRepository : IDataRepository<TaskCenterRecordKeylessEntity>
    {
        /// <summary>
        /// 获取任务记录
        /// </summary>
        /// <param name="pageFilter">pageFilter</param>
        /// <param name="cancellationToken">cancellationToken</param>
        /// <returns></returns>
        Task<PageList<TaskCenterRecordKeylessEntity>> GetTaskCenterRecordModelPagedListAsync(IPageFilter<TaskCenterRecordFilterDto, TaskCenterRecordOrderByDto> pageFilter, CancellationToken cancellationToken = default);
    }
}
